package com.stu.student_back_end.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 宿管实体类
 */

@Data
@TableName("tbl_account")
public class TblAccount {

    //账户id
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    //登录账户账号
    @TableField("username")
    private String username;

    //登录账户密码
    @TableField("password")
    private String password;

    //账号人名
    private String name;

    //性别
    private String sex;

    //联系方式
    private String phone;

    //权限等级
    private String power;

    //管理的楼栋
    private String build;

    //登录次数
    private int count;

    //创建时间
    @TableField("updateTime")
    private Date updateTime;
}
